package com.example.imtoken.entitys.http

class CoinsEntity : ArrayList<CoinsEntityItem>()

data class CoinsEntityItem(
    val address: String,
    val children: MutableList<Children>?,
    val coin: String, // btc
    val describe: String, // BTC
    val icon: String, // https://s2.coinmarketcap.com/static/img/coins/128x128/1.png
    val name: String, // BTC
    val token: String
) {

    var isAddToken = 0 //0,未选择,1,选择,2,默认

}

data class Children(
    val address: String, // 0xBed43f4d1CEaf6D46d7f1C87d5e6F232755Ec1c3
    val children: Any?, // null
    val coin: String, // usdt
    val describe: String, // usdt
    val icon: String, // https://s2.coinmarketcap.com/static/img/coins/128x128/825.png
    val name: String, // USDT
    val token: String
) {
    var isSelect = false
}